package org.micode.common.domain.base;

/**
 * 缓存对象基类
 */
public abstract class BaseUserCache extends BaseCache implements IUserCache {

    public BaseUserCache() {
    }

    public BaseUserCache(long retentionSeconds, long resetSeconds) {
        super(retentionSeconds, resetSeconds);
    }

    public abstract Long getUserId();

    public abstract void setUserId(Long userId);

    public abstract String getLoginApp();

    public abstract void setLoginApp(String loginApp);

    public abstract String getLoginIp();

    public abstract String readUserToken();

    public abstract Integer getUserType();

    public abstract void setLoginIp(String loginIp);

}
